package com.mine.modules.vm.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mine.common.domain.vo.Result;
import com.mine.modules.vm.domain.dto.AssetsFileDto;
import com.mine.modules.vm.domain.query.AssetsFilePageQuery;
import com.mine.modules.vm.entity.VmAssetsFile;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xujf
 * @since 2024-12-24
 */
public interface IVmAssetsFileService extends IService<VmAssetsFile> {

    Result<?> pageList(AssetsFilePageQuery pageQuery);

    Result<?> addAssetsFile(AssetsFileDto assetsFile);

    Result<?> deleteById(String deviceId, String fileId);

    Result<?> deleteBatch(String deviceId, String fileIds);

    ResponseEntity<byte[]> download(String deviceId, String fileId);

}
